package com.cheng.example.atguigu.design_pattern.command;

/*
 * @author 程帅
 * @createTime: 2020/10/19 8:32
 * @Created: with IntelliJ IDEA.
 */

//点灯接收者
public class LightReceiver {

    public void on() {
        System.out.println(" 点灯打开了..");
    }

    public void off() {
        System.out.println(" 点灯关闭了..");
    }
}
